package com.three.usermanagement.feign;

import com.three.core.entity.Menu;
import com.three.core.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;


@FeignClient(name = "menu-service", fallbackFactory = MenuFeignFactory.class)
public interface OpenFeignClient {

    @GetMapping("/LeftMenu")
    public R<List<Menu>> selectLeftMenuAsync();
}
